/**
 * Copyright 2011 Micro_SNS Group. All Right reserved.
 */
package com.team.sns.web.test.action;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import com.team.sns.services.ActorService;
import com.team.sns.web.BasicAction;

/**
 * @author seven zhao
 * @version 1.0
 * 功能说明：
 *
 */
@SuppressWarnings("serial")
@Controller @Scope("prototype")
public class ActorTestAction extends BasicAction{
	@Resource(name="actorServiceBean")
	private ActorService actorService;
	
	public String execute() throws Exception {
		System.out.println("actorService:"+actorService);
		long result = actorService.getCount();
		System.out.println(result);
		return null;
	}
}
